package com.zxiw.zxedu.cmd;

import java.util.Random;

public class KeyUtil {
    public static String ZXIW_ACTION ="com.action.zxiw";
    //设置时间
    public static String KEY_SETTIME ="zxiw.set_time";
    //重启系统
    public static String KEY_RESET ="zxiw.reboot";

    //关机
    public static String KEY_SHUTDOWN ="zxiw.shut_down";
    //解锁系统
    public static String KEY_UNLOCK ="zxiw.unlock";
    //锁定系统
    public static String KEY_LOCK ="zxiw.lock";
    //屏蔽长按关机
    public static String KEY_OFFKEY ="zxiw.off.powerkey";
    //恢复长按关机
    public static String KEY_ONKEY ="zxiw.on.powerkey";
    //非法操作
    public static String KEY_ERROP ="zxiw.err.op";

    //读取设备序列号
    public static String KEY_GETSERIAL ="zxiw.r.serial";

    //屏蔽Home
    public static String KEY_LOCKHOME ="zxiw.lock.home";

    //恢复Home
    public static String KEY_UNLOCKHOME ="zxiw.unlock.home";
    //安装apk
    public static String KEY_APKINSTALL ="zxiw.install";
    //卸载apk
    public static String KEY_APKUNINSTALL ="zxiw.uninstall";
    //获取硬件内保存时间
    public static String KEY_GETTIME ="zxiw.get.time";
    //获取系统版本号
    public static String KEY_GETVERSION ="zxiw.get.sys.version";

    public static int getKeyFileIndex() {
        Random random = new Random(System.currentTimeMillis());
        return random.nextInt(2);
    }
}
